package com.shen.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-order")
public interface OrdersClient {

    @GetMapping("/eduorder/order/getStatus/{courseId}/{userId}")
    public  boolean getStatus(@PathVariable("courseId") String courseId, @PathVariable("userId") String userId);
}
